package com.ruoyi.wareManagement.service;

import java.util.List;
import com.ruoyi.wareManagement.domain.ScrapInventoryInquiry;

/**
 * 报废库存查询Service接口
 * 
 * @author admin
 * @date 2024-06-28
 */
public interface IScrapInventoryInquiryService 
{
    /**
     * 查询报废库存查询
     * 
     * @param scrapId 报废库存查询主键
     * @return 报废库存查询
     */
    public ScrapInventoryInquiry selectScrapInventoryInquiryByScrapId(Long scrapId);

    /**
     * 查询报废库存查询列表
     * 
     * @param scrapInventoryInquiry 报废库存查询
     * @return 报废库存查询集合
     */
    public List<ScrapInventoryInquiry> selectScrapInventoryInquiryList(ScrapInventoryInquiry scrapInventoryInquiry);

    /**
     * 新增报废库存查询
     * 
     * @param scrapInventoryInquiry 报废库存查询
     * @return 结果
     */
    public int insertScrapInventoryInquiry(ScrapInventoryInquiry scrapInventoryInquiry);

    /**
     * 修改报废库存查询
     * 
     * @param scrapInventoryInquiry 报废库存查询
     * @return 结果
     */
    public int updateScrapInventoryInquiry(ScrapInventoryInquiry scrapInventoryInquiry);

    /**
     * 批量删除报废库存查询
     * 
     * @param scrapIds 需要删除的报废库存查询主键集合
     * @return 结果
     */
    public int deleteScrapInventoryInquiryByScrapIds(Long[] scrapIds);

    /**
     * 删除报废库存查询信息
     * 
     * @param scrapId 报废库存查询主键
     * @return 结果
     */
    public int deleteScrapInventoryInquiryByScrapId(Long scrapId);
}
